<!--
  Generated template for the UserAgentPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
    <ion-navbar>
        <ion-title>代理中心</ion-title>
    </ion-navbar>
</ion-header>


<!-- <ion-content>
    <div class="top">
        <img class="top-img" src="./assets/imgs/agent/bg-11.png" alt="">
        <div class="card-content">
            <div class="card-top">
                <span float-left (click)="datail(1)" > 一级代理 666 人</span>
                <span float-right (click)="datail(2)" >二级代理 666 人</span>
            </div>
            <div class="card-list">
                <div float-left >
                    <h6>
                        88.00
                    </h6>
                    <span>团队收益</span>
                </div>
                <div float-left >
                    <h6>
                        888.00
                    </h6>
                    <span>今日收益</span>
                </div>
                <div float-left >
                    <h6>
                        88
                    </h6>
                    <span>团队人数</span>
                </div>
                <div float-left >
                    <h6>
                        8
                    </h6>
                    <span>今日新增人数</span>
                </div>
            </div>
        </div>

        <div class="ewm">
            <img src="https://qr.api.cli.im/qr?data=%25E5%2593%2587%25EF%25BC%258C%25E4%25BD%25A0%25E5%25A5%25BD%25E6%25BC%2582%25E4%25BA%25AE%25E5%2591%2580%25EF%25BC%2581%25EF%25BC%2581%25EF%25BC%2581&level=H&transparent=false&bgcolor=%23ffffff&forecolor=%23000000&blockpixel=12&marginblock=1&logourl=&size=260&kid=cliim&key=51250aa3db5aba08de226b794b5b19b0" alt="">
        </div>
    </div>
    <div class="bottom">
        <img src="./assets/imgs/agent/bg-22.png" alt="">
    </div>
</ion-content> -->


<ion-content>
    <div class="top">
        <img class="top-img" src="./assets/imgs/agent/bg-1.jpg" alt="">
        <div class="card-content">
            <div class="card-top">
                <span float-left (click)="datail(1)" > 一级代理 {{ agentMes?.child }} 人</span>
                <span float-right (click)="datail(2)" >二级代理 {{ agentMes?.towChild }} 人</span>
            </div>
            <div class="card-list">
                <div float-left >
                    <h6>
                        {{ agentMes?.money }}
                    </h6>
                    <span>团队收益</span>
                </div>
                <div float-left >
                    <h6>
                        {{ agentMes?.dayMoney }}
                    </h6>
                    <span>今日收益</span>
                </div>
                <div float-left >
                    <h6>
                        {{ agentMes?.allchild }}
                    </h6>
                    <span>团队人数</span>
                </div>
                <div float-left >
                    <h6>
                        {{ agentMes?.dayAdd }}
                    </h6>
                    <span>今日新增人数</span>
                </div>
            </div>
        </div>
        
    </div>
    <div class="bottom">
        <img src="./assets/imgs/agent/bg-2.jpg" alt="">
        <div class="ewm">
            <img src="{{ agentMes?.agentCode }}" alt="">
        </div>
    </div>
    <div class="img-group">
        <img src="./assets/imgs/agent/bg-3.jpg" alt="">
        <img src="./assets/imgs/agent/bg-4.jpg" alt="">
        <img src="./assets/imgs/agent/bg-5.jpg" alt="">
        <img src="./assets/imgs/agent/bg-6.jpg" alt="">
    </div>
</ion-content>
